package com.njupt.yanglonglong.report.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author yangllong
 * @Date 2021/4/23 21:16
 */
@Data
@TableName("r_course")
public class Course implements Serializable {
    // mybatis plus 主键自增问题
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("course_name")
    private String courseName;
    @TableField("course_id")
    private String courseId;
    @TableField("course_type")
    private String courseType;
    @TableField("start_time")
    private String startTime;
    @TableField("end_time")
    private String endTime;
    @TableField("can_apply")
    private Integer canApply;
}
